package a4;


    public class AliPay extends Payment {
        private String number;

        // Constructors, getters, and setters
        public AliPay(double amount, String number) {
            super(amount);
            this.number = number;
        }

        // Getters and Setters
        public String getNumber() { return number; }
        public void setNumber(String number) { this.number = number; }
    }

